package com.mmall.service;/**
 * Created by 果果 on 2017/8/27.
 */

import com.mmall.common.ServerResponse;
import com.mmall.pojo.Category;

import java.util.List;

/**
 * 后台商品分类service
 *
 * @author
 * @create 2017-08-27 17:38
 **/
public interface ICategoryService {
    ServerResponse addCategory(String categoryName,Integer parentId);
    ServerResponse updateCategoryName(Integer categoryId,String categoryName);
    ServerResponse<List<Category>> getChildrenPalallelCategory(Integer categoryId);
    ServerResponse<List<Integer>> getDeepChildCategory(Integer categoryId);
}
